package vip.meeet.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.time.LocalDate;

@Controller
@RequestMapping("/tmp")
public class IndexController {

    @RequestMapping("/test")
    public String tm(){//天猫销售额,https://m.sm.cn/s?q=%E5%8F%8C%E5%8D%81%E4%B8%80%E6%88%90%E4%BA%A4%E9%A2%9D
        LocalDate start = LocalDate.parse("2009-01-01");
        Integer[] amounts = {5000,93600,520000,1910000,3500000,5710000,9120000,12070000,21350000,26840000,49820000};//万
        Integer[] year = {2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020};
        return "hello";
    }


}
